package chd.edu.spzx.manager.service.impl;

import chd.edu.spzx.common.log.service.AsyncOperLogService;
import chd.edu.spzx.manager.mapper.SysOperLogMapper;
import chd.edu.spzx.model.entity.system.SysOperLog;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author Zhang Chaoliang
 * create 2023
 */
@Service
public class AsyncOperLogServiceImpl implements AsyncOperLogService {

    @Autowired
    private SysOperLogMapper sysOperLogMapper;

    /**
     * 保存日志数据
     * @param sysOperLog
     */
    @Override
    public void saveSysOperLog(SysOperLog sysOperLog) {
        sysOperLogMapper.insert(sysOperLog);
    }
}
